from enum import Enum

class Color(Enum):
    RED = 1
    GREEN = 2
    BLUE = 3

print(Color.RED in Color)

print(Color.RED is Color.BLUE)
print(Color.RED != Color.BLUE)

print(Color.RED == 1) # False